package io.finer.erp.jeecg.bas.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description: 分切/切张单
 * @Author: jeecg-boot
 * @Date:   2020-10-29
 * @Version: V1.0
 */
@ApiModel(value="zrk_qz_order对象", description="分切/切张单")
@Data
@TableName("zrk_qz_order")
public class ZrkQzOrder implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@SuppressWarnings("deprecation")
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**物料名称*/
	@Excel(name = "物料名称", width = 15, dictTable = " bas_material", dicText = "name", dicCode = "id")
		@Dict(dictTable = "bas_material_category", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "物料名称")
    private java.lang.String materialId;
	/**规格*/
	@Excel(name = "规格", width = 15)
    @ApiModelProperty(value = "规格")
    private java.lang.String specs;
	/**张数/长度*/
	@Excel(name = "张数/长度", width = 15)
    @ApiModelProperty(value = "张数/长度")
    private java.lang.Integer zrkAmt;
	/**是否推送到MES*/
	@Excel(name = "是否推送到MES", width = 15, dicCode = "yn")
    @Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否推送到MES")
    private java.lang.Integer isPush;
	/**工序*/
	@Excel(name = "工序", width = 15, dictTable = "zz_device_type", dicText = "device_tpye_name", dicCode = "id")
    @Dict(dictTable = "zz_device_type", dicText = "device_tpye_name", dicCode = "id")
    @ApiModelProperty(value = "工序")
    private java.lang.String processId;
	/**是否完成*/
	@Excel(name = "是否完成", width = 15, dicCode = "yn")
    @Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否完成")
    private java.lang.Integer isFinish;
	/**订单工序*/
	@Excel(name = "订单工序", width = 15)
    @ApiModelProperty(value = "订单工序")
	@Dict(dictTable = "zrk_order_process", dicText = "process_code", dicCode = "id")
    private java.lang.String orderProcessId;
	/**操作员*/
	@Excel(name = "操作员", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
    @ApiModelProperty(value = "操作员")
    private java.lang.String operatorUsers;
	/**机器*/
	@Excel(name = "机器", width = 15, dictTable = "zz_device", dicText = "device_name", dicCode = "id")
    @Dict(dictTable = "zz_device", dicText = "device_name", dicCode = "id")
    @ApiModelProperty(value = "机器")
    private java.lang.String machineId;
	/**交货时间*/
	@Excel(name = "交货时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "交货时间")
    private java.util.Date woDeliverytime;
	/**是否核算工资*/
	@Excel(name = "是否核算工资", width = 15)
    @ApiModelProperty(value = "是否核算工资")
    private java.lang.String isSalary;
	/**刀数*/
	@Excel(name = "刀数", width = 15)
    @ApiModelProperty(value = "刀数")
	private java.math.BigDecimal knives; 
	/**客户*/
	@Excel(name = "客户", width = 15)
    @ApiModelProperty(value = "客户")
	private java.lang.String customerName;
	/**父级节点*/
	@Excel(name = "父级节点", width = 15)
	@ApiModelProperty(value = "父级节点")
	private java.lang.String pid;
	/**是否有子节点*/
	@Excel(name = "是否有子节点", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
	@ApiModelProperty(value = "是否有子节点")
	private java.lang.String hasChild;
	/**数量*/
	@Excel(name = "数量", width = 15)
	@ApiModelProperty(value = "数量")
	private java.math.BigDecimal productNum;
	/**合并分切方案*/
	@Excel(name = "合并分切方案", width = 15)
	@ApiModelProperty(value = "合并分切方案")
	private java.lang.String uniteInfo;
	/**是否合并*/
	@Excel(name = "是否合并", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
	@ApiModelProperty(value = "是否合并")
	private java.lang.Integer isUnite;
	/**分组*/
	@Excel(name = "分组", width = 15)
	@ApiModelProperty(value = "分组")
	private java.lang.String orderGroup;
	/**尾料*/
	@Excel(name = "尾料", width = 15)
	@ApiModelProperty(value = "尾料")
	private java.lang.String tailings;
	
	/**合并分切参数汇总*/
	@Excel(name = "合并分切参数汇总", width = 15)
	@ApiModelProperty(value = "合并分切参数汇总")
	private java.lang.String uniteParams;
	
	/**母料宽幅*/
	@Excel(name = "母料宽幅", width = 15)
	@ApiModelProperty(value = "母料宽幅")
	private java.lang.Integer masterbatc;
	/**配方*/
	@Excel(name = "配方", width = 15, dictTable = "bas_product_formula", dicText = "pf_name", dicCode = "id")
    @Dict(dictTable = "bas_product_formula", dicText = "pf_name", dicCode = "id")
    @ApiModelProperty(value = "配方")
	private java.lang.String formulaId;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
	private java.lang.String remark;
	/**编号*/
	@Excel(name = "编号", width = 15)
	@ApiModelProperty(value = "编号")
	private java.lang.String code;
	/**状态*/
	@Excel(name = "状态", width = 15)
	@ApiModelProperty(value = "状态")
	private java.lang.String mesOrderStatus;
	/**父ID*/
	private java.lang.String parentId;

	/**是否删除*/
	@ApiModelProperty(value = "是否删除")
	@TableLogic
	private String delFlag;
	/**是否撤单*/
	@ApiModelProperty(value = "是否撤单")
	private String isChedan;
	
	/**是否已打印*/
	@ApiModelProperty(value = "是否已打印")
	@Dict(dicCode = "yn")
	private java.lang.Integer isPrint;
	/**排序*/
    @Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
    private String sort;
	/**排序*/
	@Excel(name = "用胶量", width = 15)
	@ApiModelProperty(value = "用胶量")
    private String amountOfGlue;
    @TableField(exist = false)
    private String glue;
    
    /**是否已计算过计件工资*/
	@ApiModelProperty(value = "是否已计算过计件工资")
	@Dict(dicCode = "yn")
	private java.lang.String isCalculated;
	

}
